package cn.fastoo.common.service;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;


@Component
public class AppConf {

    @Value("${profile}")
    private String profile;


    public Boolean isProd(){
        if("prod".equals(profile)){
            return true;
        }
        return false;
    }

}
